package com.ge.boot03web.bean;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

/**
 * @BelongsProject: SpringBoot
 * @BelongsPackage: com.ge.boot03web.bean
 * @Author: gejingyu
 * @Date: 2024/1/29
 * @Description: 测试内容协商
 *
 * 增加@JacksonXmlRootElement注释，表示类对象可以被写为XML格式文档
 */

@Data
@JacksonXmlRootElement
public class Person {

    private Long id;

    private String userName;

    private String email;

    private Integer age;

}
